home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Beauty of Chaos
/
Beauty of Chaos, The - Vol. 1 (1995)(Schatztruhe)[!][Amiga-Mac-PC].iso
/
mac
/
gifconverter2.37.cpt.hqx
/
GIFConverter 2.3.7.rsrc
/
bin.rsrc_CODE_88_MAMiniInit.txt
< prev
next >
Wrap
Text File
|
1994-01-29
|
52KB
|
929 lines
# near model CODE resource
# jump table entries: 22208-22210 (3 of them)
export_2776:
00000000 4E56 0000 link A6, 0
00000004 2F0C move.l -[A7], A4
00000006 70FF moveq.l D0, 0xFFFFFFFF
00000008 A055 syscall StripAddress
0000000A 2B40 FD56 move.l [A5 - 0x2AA], D0
0000000E 486D FD64 pea.l [A5 - 0x29C]
00000012 4EBA 0166 jsr [PC + 0x166 /* 0000017A */]
00000016 4A2D FD8A tst.b [A5 - 0x276]
0000001A 664A bne +0x4C /* 00000066 */
0000001C 486D F4B0 pea.l [A5 - 0xB50]
00000020 A86E syscall InitGraf
00000022 A8FE syscall InitFonts
00000024 A912 syscall InitWindows
00000026 3F3C 7F7F move.w -[A7], 0x7F7F
0000002A 7000 moveq.l D0, 0x00
0000002C 3F00 move.w -[A7], D0
0000002E 201F move.l D0, [A7]+
00000030 A032 syscall FlushEvents
00000032 70FF moveq.l D0, 0xFFFFFFFF
00000034 31C0 0144 move.w [0x00000144 /* SysEvtMask */], D0
00000038 A930 syscall InitMenus
0000003A A9CC syscall TEInit
0000003C 7000 moveq.l D0, 0x00
0000003E 2F00 move.l -[A7], D0
00000040 A97B syscall InitDialogs
00000042 598F subq.l A7, 4
00000044 7004 moveq.l D0, 0x04
00000046 3F00 move.w -[A7], D0
00000048 A9B9 syscall GetCursor
0000004A 285F movea.l A4, [A7]+
0000004C A850 syscall InitCursor
0000004E 200C move.l D0, A4
00000050 6704 beq +0x6 /* 00000056 */
00000052 2F14 move.l -[A7], [A4]
00000054 A851 syscall SetCursor
label00000056:
00000056 558F subq.l A7, 2
00000058 A994 syscall CurResFile
0000005A 3B5F FD8C move.w [A5 - 0x274], [A7]+
0000005E 1B7C 0001 FD62 move.b [A5 - 0x29E], 0x1
00000064 6002 bra +0x4 /* 00000068 */
label00000066:
00000066 A9F4 syscall ExitToShell
label00000068:
00000068 286E FFFC movea.l A4, [A6 - 0x4]
0000006C 4E5E unlink A6
0000006E 4E75 rts
00000070 9144 subx.w D0, D4
00000072 4F52 chk.w D7, [A2]
00000074 4541 chk.w D2, D1
00000076 4C49 4E49 movem.l D0,D3,D6,A1,A2,A3,A6, A1
0000007A 5454 addq.w [A4], 2
0000007C 4F4F chk.w D7, A7
0000007E 4C42 4F58 movem.l D3,D4,D6,A0,A1,A2,A3,A6, D2
00000082 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_2777: // at 00000084 (misaligned)
00000086 0000 48E7 ori.b D0, 0xE7
0000008A 1108 move.b -[A0], A0
0000008C 286E 0008 movea.l A4, [A6 + 0x8]
00000090 7E01 moveq.l D7, 0x01
00000092 7600 moveq.l D3, 0x00
00000094 4A07 tst.b D7
00000096 6708 beq +0xA /* 000000A0 */
00000098 4A2C 0012 tst.b [A4 + 0x12]
0000009C 6702 beq +0x4 /* 000000A0 */
0000009E 7601 moveq.l D3, 0x01
label000000A0:
000000A0 1E03 move.b D7, D3
000000A2 7600 moveq.l D3, 0x00
000000A4 4A07 tst.b D7
000000A6 6708 beq +0xA /* 000000B0 */
000000A8 4A2C 0015 tst.b [A4 + 0x15]
000000AC 6702 beq +0x4 /* 000000B0 */
000000AE 7601 moveq.l D3, 0x01
label000000B0:
000000B0 1E03 move.b D7, D3
000000B2 7600 moveq.l D3, 0x00
000000B4 4A07 tst.b D7
000000B6 6708 beq +0xA /* 000000C0 */
000000B8 4A2C 0014 tst.b [A4 + 0x14]
000000BC 6702 beq +0x4 /* 000000C0 */
000000BE 7601 moveq.l D3, 0x01
label000000C0:
000000C0 1E03 move.b D7, D3
000000C2 7600 moveq.l D3, 0x00
000000C4 4A07 tst.b D7
000000C6 6708 beq +0xA /* 000000D0 */
000000C8 4A2C 0016 tst.b [A4 + 0x16]
000000CC 6702 beq +0x4 /* 000000D0 */
000000CE 7601 moveq.l D3, 0x01
label000000D0:
000000D0 1E03 move.b D7, D3
000000D2 7600 moveq.l D3, 0x00
000000D4 4A07 tst.b D7
000000D6 6708 beq +0xA /* 000000E0 */
000000D8 4A2C 0018 tst.b [A4 + 0x18]
000000DC 6702 beq +0x4 /* 000000E0 */
000000DE 7601 moveq.l D3, 0x01
label000000E0:
000000E0 1E03 move.b D7, D3
000000E2 7600 moveq.l D3, 0x00
000000E4 4A07 tst.b D7
000000E6 670A beq +0xC /* 000000F2 */
000000E8 0C6C 0605 0004 cmpi.w [A4 + 0x4], 0x605
000000EE 6D02 blt +0x4 /* 000000F2 */
000000F0 7601 moveq.l D3, 0x01
label000000F2:
000000F2 1E03 move.b D7, D3
000000F4 4A2C 001B tst.b [A4 + 0x1B]
000000F8 6704 beq +0x6 /* 000000FE */
000000FA 4EAD 030A jsr [A5 + 0x30A /* export_93 */]
label000000FE:
000000FE 1D47 000C move.b [A6 + 0xC], D7
00000102 4CEE 1088 FFF4 movem.l D3,D7,A4, [A6 - 0xC]
00000108 4E5E unlink A6
0000010A 2E9F move.l [A7], [A7]+
0000010C 4E75 rts
0000010E 9556 sub.w [A6], D2
00000110 414C chk.w D0, A4
00000112 4944 chk.w D4, D4
00000114 4154 chk.w D0, [A4]
00000116 4543 chk.w D2, D3
00000118 4F4E chk.w D7, A6
0000011A 4649 not.w A1
0000011C 4755 chk.w D3, [A5]
0000011E 5241 addq.w D1, 1
00000120 5449 addq.w A1, 2
00000122 4F4E chk.w D7, A6
00000124 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000126-0000012A
fn00000126:
00000126 4E56 FFFC link A6, -0x0004
// end alternate branch 00000126-0000012A
fn00000126: // (misaligned)
00000128 FFFC .invalid <<F/7/7>>
0000012A 2F03 move.l -[A7], D3
0000012C 7600 moveq.l D3, 0x00
0000012E 2F03 move.l -[A7], D3
00000130 558F subq.l A7, 2
00000132 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000136 486E FFFC pea.l [A6 - 0x4]
0000013A 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */]
0000013E 301F move.w D0, [A7]+
00000140 261F move.l D3, [A7]+
00000142 4A40 tst.w D0
00000144 6612 bne +0x14 /* 00000158 */
00000146 302E 000E move.w D0, [A6 + 0xE]
0000014A 222E FFFC move.l D1, [A6 - 0x4]
0000014E E0A1 asr D1, D0
00000150 7001 moveq.l D0, 0x0